﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebProjectOrder.WebServices
{
    public class ItemDocument
    {
        
        #region Atributos
        private int _idDocContable;
        private int _idStore;
        private int _idItem;
        private String _description;
        private int _amount;
        private int _price;
        private int _idTaxType;
        #endregion

        #region Properties
        //
        public int IdDocContable
        {
            get
            {
                return _idDocContable;
            }
            set
            {
                _idDocContable = value;
            }
        }
        //
        public int IdStore
        {
            get
            {
                return _idStore;
            }
            set
            {
                _idStore = value;
            }
        }
        //
        public int IdItem
        {
            get
            {
                return _idItem;
            }
            set
            {
                _idItem = value;
            }
        }
        //
        public String Description
        {
            get
            {
                return _description;
            }
            set
            {
                _description = value;
            }
        }
        //
        public int Amount
        {
            get
            {
                return _amount;
            }
            set
            {
                _amount = value;
            }
        }
        //
        public int Price
        {
            get
            {
                return _price;
            }
            set
            {
                _price = value;
            }
        }
        //
        public int IdTaxType
        {
            get
            {
                return _idTaxType;
            }
            set
            {
                _idTaxType = value;
            }
        }
        #endregion

        #region Costructor
        /// <summary>
        /// Constructor de la Entidad ItemDocumento
        /// </summary>
        /// <param name="idDocContable"></param>
        /// <param name="idStore"></param>
        /// <param name="idItem"></param>
        /// <param name="description"></param>
        /// <param name="amount"></param>
        /// <param name="price"></param>
        /// <param name="idTaxType"></param>
        public ItemDocument(int idDocContable, int idStore, int idItem, String description, int amount, int price, int idTaxType) 
        {
            _idDocContable = idDocContable;
            _idStore = idStore;
            _idItem = idItem;
            _description = description;
            _amount = amount;
            _price = price;
            _idTaxType = idTaxType;
        }

        #endregion

    }
}